This example uses the HTML DOM to assign an "ontoggle" event to a details element.

Open the details.

Copyright 1999-2014.

- by Refsnes Data. All Rights Reserved.

All content and graphics on this web site are the property of the company Refsnes Data.

Note: The details element and the ontoggle event is currently only supported in Chrome, Safari 6+, and Opera 15+.